import {get,post,shamPost} from '@/js_sdk/utils/request'
import {builderApi} from '@/js_sdk/config.js'


// 用户地址
export const address_list = data => get(builderApi('/lykj-shop/zn/addressList'), data)


// 用户地址
export const address_save = data => post(builderApi('/lykj-shop/zn/shippingAddressAdd'), data)
// 用户地址
export const address_delete = data => shamPost(builderApi('/lykj-shop/zn/shippingAddressDelete'), data)
// 用户地址
export const address_default = data => shamPost(builderApi('/lykj-shop/zn/shippingAddressAsDefault'), data)
